package top.ccm.ems.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import top.ccm.ems.system.vo.ExamQuestionVo;

/**
 * <p>
 * 
 * </p>
 *
 * @author ccm
 * @since 2021-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Exam对象", description="")
public class Exam implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "出卷人")
    private String author;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "考试时间")
    private Integer lastTime;

    @ApiModelProperty(value = "满分")
    private Integer score;

    @TableField(exist = false)
    private List<ExamQuestionVo> question;

    @TableField(exist = false)
    private Integer isExportAnswer;


}
